//-----------------------------------------------------------------------------------
#ifndef __CMYCONTROLSXPLUGIN_H__
#define __CMYCONTROLSXPLUGIN_H__
//-----------------------------------------------------------------------------------
#include <QDesignerCustomWidgetCollectionInterface>
#include <QList>
#include "CMyComboBoxPlugin.h"
#include "CMyLineEditPlugin.h"
#include "CMyTextEditPlugin.h"
#include "CMyCheckBoxPlugin.h"
#include "CMyRadioButtonPlugin.h"
#include "CMyGroupBoxPlugin.h"
#include "CMyLabelPlugin.h"
//-----------------------------------------------------------------------------------
class CMyControlsPlugin : public QObject, public QDesignerCustomWidgetCollectionInterface
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
	public:
		CMyControlsPlugin(QObject *parent = 0);
		virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
	private:
		QList<QDesignerCustomWidgetInterface*> widgets;
};
//-----------------------------------------------------------------------------------
#endif //__CMYCONTROLSXPLUGIN_H__
//-----------------------------------------------------------------------------------
